﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
</head>
<body>
    <div id="bar">
    </div>
    <div id="background">
        <div class="width">
            <div id="main">
                <div class="inside">
                    <div id="header">
                        <a id="logo" title="KopeykaStore" href="/">KopeykaStore</a>
                        <div id="toolbar">
                            <div id="mainmenu">
                                <ul class="menu">
                                    <li><a href="/"><span>Home</span></a></li>
                                    <li><a href="/Store/"><span>Store</span></a></li>
                                    <li>
                                        @{Html.RenderAction("CartSummary", "ShoppingCart");}
                                    </li>
                                    <li>@Html.Partial("_LogOnPartial") </li>
                                </ul>
                            </div>
                            <!-- mainmenu -->
                            <div class="clr">
                            </div>
                        </div>
                        <!-- toolbar -->
                        <div class="clr">
                        </div>
                    </div>
                    <!-- header -->
                    <!--  <div id="pathway"></div>  -->
                    @Html.Raw(ViewBag.Banner)
                    <div id="container">
                        <div id="mainbody">
                            <div id="sidebar">
                                @{if (Context.User.IsInRole("Managers")) { Html.RenderAction("StoreManagerMenu", "StoreManager"); }}
                                @{Html.RenderAction("CategoryMenu", "Store");}
                                @{Html.RenderAction("BrandMenu", "Store");}
                            </div>
                            <div id="content">
                                <div id="content-inner">
                                    @RenderBody()
                                </div>
                                <!-- content-inner -->
                            </div>
                            <!-- content -->
                            <div class="clr">
                            </div>
                        </div>
                        <!-- mainbody -->
                    </div>
                    <!-- container -->
                </div>
                <!-- inside -->
            </div>
            <!-- main -->
            <div id="elements">
            </div>
            <!-- elements -->
            <div id="footer">
                built with <a href="http://asp.net/mvc">ASP.NET MVC 3</a>
            </div>
            <!-- footer -->
        </div>
        <!-- width -->
    </div>
    <!-- background -->
    <div class="inside">
    </div>
</body>
</html>
